import QtQuick 2.15
import QtQuick.Controls 2.15

ApplicationWindow {
	width: 400
	height: 300
	visible: true
	title: "Simple Application Window"
	
	Rectangle {
		width: 200
		height: 100
		color: "#303030"
		anchors.centerIn: parent
		
		Text {
			height:50
			width:120
			text: "Hello, World!"
			// anchors.centerIn: parent
			verticalAlignment: Text.AlignTop
			font.pixelSize: 24
			font.family: '宋体'
			color: "#567599"
			style: Text.Sunken
			styleColor: '#FF4444'
			wrapMode: Text.WrapAtWordBoundaryOrAnywhere
		}
	}
}
